package com.ruoyi.trace.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.trace.mapper.BusTraceMonitoringdataMapper;
import com.ruoyi.trace.domain.BusTraceMonitoringdata;
import com.ruoyi.trace.service.IBusTraceMonitoringdataService;

/**
 * 溯源仪-水质监测数据Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-09-30
 */
@Service
public class BusTraceMonitoringdataServiceImpl implements IBusTraceMonitoringdataService 
{
    @Autowired
    private BusTraceMonitoringdataMapper busTraceMonitoringdataMapper;

    /**
     * 查询溯源仪-水质监测数据
     * 
     * @param id 溯源仪-水质监测数据主键
     * @return 溯源仪-水质监测数据
     */
    @Override
    public BusTraceMonitoringdata selectBusTraceMonitoringdataById(String id)
    {
        return busTraceMonitoringdataMapper.selectBusTraceMonitoringdataById(id);
    }

    /**
     * 查询溯源仪-水质监测数据列表
     * 
     * @param busTraceMonitoringdata 溯源仪-水质监测数据
     * @return 溯源仪-水质监测数据
     */
    @Override
    public List<BusTraceMonitoringdata> selectBusTraceMonitoringdataList(BusTraceMonitoringdata busTraceMonitoringdata)
    {
        return busTraceMonitoringdataMapper.selectBusTraceMonitoringdataList(busTraceMonitoringdata);
    }

    /**
     * 新增溯源仪-水质监测数据
     * 
     * @param busTraceMonitoringdata 溯源仪-水质监测数据
     * @return 结果
     */
    @Override
    public int insertBusTraceMonitoringdata(BusTraceMonitoringdata busTraceMonitoringdata)
    {
        return busTraceMonitoringdataMapper.insertBusTraceMonitoringdata(busTraceMonitoringdata);
    }

    /**
     * 修改溯源仪-水质监测数据
     * 
     * @param busTraceMonitoringdata 溯源仪-水质监测数据
     * @return 结果
     */
    @Override
    public int updateBusTraceMonitoringdata(BusTraceMonitoringdata busTraceMonitoringdata)
    {
        return busTraceMonitoringdataMapper.updateBusTraceMonitoringdata(busTraceMonitoringdata);
    }

    /**
     * 批量删除溯源仪-水质监测数据
     * 
     * @param ids 需要删除的溯源仪-水质监测数据主键
     * @return 结果
     */
    @Override
    public int deleteBusTraceMonitoringdataByIds(String[] ids)
    {
        return busTraceMonitoringdataMapper.deleteBusTraceMonitoringdataByIds(ids);
    }

    /**
     * 删除溯源仪-水质监测数据信息
     * 
     * @param id 溯源仪-水质监测数据主键
     * @return 结果
     */
    @Override
    public int deleteBusTraceMonitoringdataById(String id)
    {
        return busTraceMonitoringdataMapper.deleteBusTraceMonitoringdataById(id);
    }
}
